沖和斋

Ubuntu14.04 部署 SS

以前一直用一键脚步安装,现在改用源码安装,并不比脚本复杂。

1、安装pip

apt-get install python-pip

2、用pip安装SS

pip install shadowsocks

3、设置端口、密码和加密方式

ssserver -p 443 -k password -m aes-256-cfb

4、后台运行

ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start

5、如果要停止运行

ssserver -d stop

6、查看日志

sudo less /var/log/shadowsocks.log

10-17 update

pip安装的shadowsocks版本为2.8.2,升级到2.9.0的命令如下:

pip install https://github.com/shadowsocks/shadowsocks/archive/master.zip

—EOF—